package tsb.trinhnx.example;

public class Numeral implements Expression {
	private int value;

	public Numeral() {
		value = 0;
	}

	public Numeral(int value) {
		this.value = value;
	}

	@Override
	public String toString() {
		return value + "";
	}

	@Override
	public int evaluate() {
		return value;
	}

}
